﻿namespace MQTTServer.Models
{
    /// <summary>
    /// 平台(服务器)接收推送信息确认返 回
    /// </summary>
    public class PushAckAck
    {
        /// <summary>
        ///  平台(服务器)接收推送信息确认返 回
        /// </summary>
        public string Operator { get; set; }

        /// <summary>
        ///  PushAckAckInfo
        /// </summary>
        public PushAckAckInfo Info { get; set; }
    }

    public class PushAckAckInfo
    {
        /// <summary>
        /// 一体机设备号 id,返回值
        /// </summary>
        public string? FacesluiceId { get; set; }
        /// <summary>
        ///  PushAckType=1;填接收到的陌生人 抓拍库 ID PushAckType=2;填接收到的控制记 录库 ID
        /// </summary>
        public int SnapOrRecordID { get; set; }
        
        /// <summary>
        ///   操作结果“ok”/“fail
        /// </summary>
        public string result { get; set; }
        
        /// <summary>
        ///   当 result 为“fail”时，错误信息
        /// </summary>
        public string detail { get; set; }
    }
}